﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace SMBCFamilyAssessment.Models
{
   public  class QuestionSet
    {
        [ScaffoldColumn(false)]
        [Key]
        public int QuestionSetId { get; set; }
        [DataType(DataType.Text)]
        [StringLength(100)]
        [Display(Name = "Questionset Description")]
        public string QuestionSetDescription { get; set; }
        [StringLength(1000)]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Notes")]
        public string Notes { get; set; }
        [ScaffoldColumn(false)]
        public DateTime? CreatedDateTime { get; set; }
        [ScaffoldColumn(false)]
        public string CreatedBy { get; set; }
        [ScaffoldColumn(false)]
        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        public DateTime? LastModifiedAt { get; set; }
        [ScaffoldColumn(false)]
        public string LastModifiedBy { get; set; }
        public DateTime? EndedDateTime { get; set; }
        public virtual List<Question> Questions { get; set; }
    }
}


